﻿using System.Numerics;

namespace IOP.OpenType
{
    /// <summary>
    /// 包围盒
    /// </summary>
    public struct Bounding
    {
        /// <summary>
        /// X最小值
        /// </summary>
        public float XMin;
        /// <summary>
        /// X最大值
        /// </summary>
        public float XMax;
        /// <summary>
        /// Y最小值
        /// </summary>
        public float YMin;
        /// <summary>
        /// Y最大值
        /// </summary>
        public float YMax;
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="xMin"></param>
        /// <param name="xMax"></param>
        /// <param name="yMin"></param>
        /// <param name="yMax"></param>
        public Bounding(float xMin, float xMax, float yMin, float yMax)
        {
            XMin = xMin;
            XMax = xMax;
            YMin = yMin;
            YMax = yMax;
        }
    }
}
